
package JET.geom;

/**
 *
 * @author raos
 */
public class GeomHelper {

    public static Vec2d getProjectedVec(Vec2d src, Vec2d dst) {
        Vec2d res = new Vec2d(dst);
        res.normalize();

        res.scale(res.dot(src));
        return res;
    }

}
